to learn by committing to memory
Think of how many poems, songs, and Bible sayings that you know by heart.
1855
idiom